package com.book.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.utils.PageUtils;
import com.book.entity.BookEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * 
 *
 * @author yang
 * @email yang@gmail.com
 * @date 2020-12-05 14:30:35
 */
public interface BookService extends IService<BookEntity> {

    IPage<BookEntity> queryPage();

    IPage<BookEntity> bookInfoPage(Integer currentPage, Integer limit,String bookName);

    void updateBook(BookEntity book);

    String upload(MultipartFile file);

    void saveBook(BookEntity book);
}

